#include<stdio.h>

int main(void)
{
	int a=0,b=0,c=0,d=0,e=0,f=0,n,t;
	scanf("%d",&n);
	while(n--)
	{
		scanf("%d",&t);
		if(t==100)
			a++;
		else if(t>=90)
			b++;
		else if(t>=80)
			c++;
		else if(t>=70)
			d++;
		else if(t>=60)
			e++;
		else
			f++;
	}
	printf("%d\n",a);
	printf("%d\n",b);
	printf("%d\n",c);
	printf("%d\n",d);
	printf("%d\n",e);
	printf("%d\n",f);
	return 0;
}
